package org.xt.entity;

import org.nutz.dao.entity.annotation.Column;
import org.nutz.dao.entity.annotation.Table;

/**
 * 角色
 * @author XiangTao
 *
 */
@Table("tb_role")
public class Role extends IdBaseTable{
	@Column
	private String role;
	@Column
	private String descript;
	@Column
	private boolean avaliable;
	public String getRole() {
		return role;
	}
	public void setRole(String role) {
		this.role = role;
	}
	public String getDescript() {
		return descript;
	}
	public void setDescript(String descript) {
		this.descript = descript;
	}
	public boolean isAvaliable() {
		return avaliable;
	}
	public void setAvaliable(boolean available) {
		this.avaliable = available;
	}
	@Override
	public String toString() {
		return "Role [role=" + role + ", descript=" + descript + ", avaliable=" + avaliable + "]" + super.toString();
	}
}
